'use strict';

module.exports = (app) => {
    const { STRING, INTEGER, DATE,DataTypes } = app.Sequelize;

    const User = app.model.define('menu', {
        id: { type: INTEGER,       primaryKey: true
        },
        name:STRING(255),
        path:STRING(255),
        sign:STRING(255),
        pid: INTEGER,
        status:INTEGER,
        created_at: DATE,
        updated_at: DATE,
    });

    return User;
};
